package com.efast.dmom.mgmt.service.mes;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.service.IService;
import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.bean.mes.InfPpPlan;
import com.efast.dmom.mgmt.entity.mes.TwPlanSplit;
import com.efast.dmom.mgmt.entity.mes.TwProductionPlan;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-06-20
 */
public interface TwProductionPlanService extends IService<TwProductionPlan> {

	void planColsed(TwProductionPlan twProductionPlan);

	void planMakeWorkOrder(TwPlanSplit twPlanSplit);
	
	ResultBean planWorkOrder (Map<String,Object> map);
	
	void planWorkSplitOrder (Map<String,Object> map,Integer splitQty,Integer singerOrderQty);
	
	// 计划排序
	ResultBean PlanSort (Map<String,Object> map);
	
	ResultBean updatePlanCreate(Map<String,Object> map);
	
	void deletePlanCreate(Map<String,Object> map);
	
	ResultBean insertPlanCreate(InfPpPlan infPpPlan);

}
